package com.liziba.classloader;

/**
 * <p>
 *       测试类加载器之间的关系
 * </p>
 *
 * @Author: Liziba
 * @Date: 2021/5/31 21:14
 */
public class ClassLoaderRelationshipTest {

    public static void main(String[] args) {

        System.out.println(ClassLoader.getSystemClassLoader());
        System.out.println(ClassLoader.getSystemClassLoader().getParent());
        System.out.println(ClassLoader.getSystemClassLoader().getParent().getParent());

    }
}
